package com.demo.algorithm.thread;


final class Add {
    private int result = 0;

    public void addAll(int[] values) {
        for (int v : values) {
            result += v;
        }
    }
}
